package io.renren.modules.receiveJobDemo.dao;

import io.renren.common.dao.BaseDao;
import io.renren.modules.receiveJobDemo.entity.TaskAssignmentEntity;
import io.renren.modules.receiveJobDemo.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 任务分配表
 *
 * @author Musk.gqh 1259757804@qq.com
 * @since 1.0.0 2024-05-20
 */
@Mapper
public interface TaskAssignmentDao extends BaseDao<TaskAssignmentEntity> {

    List<UserEntity> queryUsername();

    void updateByFlag(TaskAssignmentEntity entity);

    String queryRoleNameIdByToken(String token);

    String queryUsernameByToken(String token);
}